package com.qf.cx.simplenms.reader.api;

import java.util.Observer;
import java.util.Set;

import com.qf.cx.simplenms.tagmemory.model.TagMemoryModel;

public interface Reader extends Observer {

	void addTagMemories(Observer observer, Set<TagMemoryModel> tagMemories);

	void deleteTagMemories(Observer observer, Set<TagMemoryModel> tagMemories);

	void start(Observer observer);

	/**
	 * 仅当该阅读器没有Observer时才停止，否则相当于空操作
	 */
	void stop(Observer observer);

}
